if ($http_host ~ "{{ cname }}") {
    set $root {{ wpcast['web_path'] }}/{{ subdomain }};
}
